﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopFenxiaoItemRecord : BaseObject
    {
        //begin
        public TopFenxiaoItemRecord(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _DistributorId;
        [Size(SizeAttribute.Unlimited)]
        public string DistributorId
        {
            get
            {
                return _DistributorId;
            }
            set
            {
                SetPropertyValue("DistributorId", ref _DistributorId, value);
            }
        }
        private string _ItemId;
        [Size(SizeAttribute.Unlimited)]
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _ProductId;
        [Size(SizeAttribute.Unlimited)]
        public string ProductId
        {
            get
            {
                return _ProductId;
            }
            set
            {
                SetPropertyValue("ProductId", ref _ProductId, value);
            }
        }
        private DateTime _Created;
        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                SetPropertyValue("Created", ref _Created, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        private string _TradeType;
        [Size(SizeAttribute.Unlimited)]
        public string TradeType
        {
            get
            {
                return _TradeType;
            }
            set
            {
                SetPropertyValue("TradeType", ref _TradeType, value);
            }
        }
        //end
    }
}
